package vip.xiaonuo.facedoor.vo.dewo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class DeviceStateResponse implements Serializable {

    @JsonProperty("code")
    private String code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("cpuUsage")
        private String cpuUsage;
        @JsonProperty("ramUsage")
        private String ramUsage;
        @JsonProperty("availableStorage")
        private String availableStorage;
        @JsonProperty("deviceModel")
        private String deviceModel;
        @JsonProperty("androidVersion")
        private String androidVersion;
        @JsonProperty("firmwareVersion")
        private String firmwareVersion;
        @JsonProperty("serialNum")
        private String serialNum;
        @JsonProperty("ipAddress")
        private String ipAddress;
        @JsonProperty("appVersion")
        private String appVersion;
        @JsonProperty("deviceTime")
        private String deviceTime;
        @JsonProperty("memberCount")
        private Long memberCount;

        @JsonProperty("horizontNum")
        private Integer horizontNum;

        @JsonProperty("verticalNum")
        private Integer verticalNum;

        @JsonProperty("maxUsageNum")
        private Integer maxUsageNum;

        @JsonProperty("adminPwd")
        private String adminPwd;

        @JsonProperty("cabinetStatus")
        private String cabinetStatus;
    }
}
